package com.hhit.zhgd.dao

import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest

@SpringBootTest
class ZhgdSmBallAlarmMapperTests {
    @Autowired
    private var zhgdSmBallAlarmMapper:ZhgdSmBallAlarmMapper?=null

    @Test
    fun getList() {
        val page = Page<HashMap<String,Any?>>(1,10)
        zhgdSmBallAlarmMapper?.getList(page, null)?.records?.forEach { it-> println(it) }
    }

    @Test
    fun selectListByName() {
        zhgdSmBallAlarmMapper?.selectListByName("")?.forEach { it-> println(it) }
    }
}